package com.taobao.txc.sample;

import java.io.PrintStream;
import java.util.Calendar;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.atomic.AtomicLong;
import org.springframework.jdbc.core.JdbcTemplate;

final class a
  extends Thread
{
  a(int paramInt, StandardModeClient2 paramStandardModeClient2, JdbcTemplate paramJdbcTemplate1, JdbcTemplate paramJdbcTemplate2, CountDownLatch paramCountDownLatch) {}
  
  public void run()
  {
    AtomicLong localAtomicLong = new AtomicLong(this.a * 100 + 10000);
    System.out.println(Calendar.getInstance().getTime());
    for (int i = 0; i < 50; i++) {
      try
      {
        this.b.insert(localAtomicLong, this.c, this.d);
      }
      catch (Exception localException1)
      {
        localException1.printStackTrace();
      }
    }
    for (i = 50; i < 100; i++) {
      try
      {
        this.b.insert(localAtomicLong, this.c, this.d);
      }
      catch (Exception localException2)
      {
        localException2.printStackTrace();
      }
    }
    localAtomicLong.set(this.a * 100 + 10000);
    for (i = 0; i < 100; i++) {
      try
      {
        this.b.update(localAtomicLong, this.c, this.d);
      }
      catch (Exception localException3)
      {
        localException3.printStackTrace();
      }
    }
    localAtomicLong.set(this.a * 100 + 10000);
    for (i = 0; i < 100; i++) {
      try
      {
        this.b.delete(localAtomicLong, this.c, this.d);
      }
      catch (Exception localException4)
      {
        localException4.printStackTrace();
      }
    }
    this.e.countDown();
    System.out.println(Calendar.getInstance().getTime());
  }
}


/* Location:           C:\Users\ibm\Downloads\txc-yun-sample (1)\txc-yun-sample\lib\txc-client-2.0.72.jar
 * Qualified Name:     com.taobao.txc.sample.a
 * JD-Core Version:    0.7.0.1
 */